package test;

import java.util.ArrayList;

public class Teacher {
	private String name;
	private ArrayList<Subject> subjectList;//教师教的科目
	public Teacher(){
		
	}
	public Teacher(String name, ArrayList<Subject> subjectList) {
		this.name = name;
		this.subjectList = subjectList;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public ArrayList<Subject> getSubjectList() {
		return subjectList;
	}
	public void setSubjectList(ArrayList<Subject> subjectList) {
		this.subjectList = subjectList;
	}
	
}
